﻿@using Citi.EmailSender.WebUi.Models
@model EmailFilterModel
<ul class="nav nav-tabs">
    <li class="active"><a href="#sent" data-toggle="tab">Sent</a></li>
    <li><a href="#scheduled" data-toggle="tab">Scheduled</a></li>
    <li><a href="#errors" data-toggle="tab">Error</a></li>
</ul>
<div class="tab-content">
    <div class="tab-pane active" id="sent">
        @{Model.Status = EmailFilterModel.SentStatus.Sent;}
        @Html.Action("List", Model)
    </div>
    <div class="tab-pane" id="scheduled">
        @{Model.Status = EmailFilterModel.SentStatus.Scheduled;}
        @Html.Action("List", Model)
    </div>
    <div class="tab-pane" id="errors">
        @{Model.Status = EmailFilterModel.SentStatus.Error;}
        @Html.Action("List", Model)
    </div>
</div>
